<?php
/**
* @myIPN for sobi 2
* @Copyright (C) 2007 Ethan Chai Voon Chong, http://www.ethansoft.com
* @All Rights Reserved
*/

defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' );

class HTML_Myipn {
	
	// Display Thank you message on finishing check out from Paypal 
	function display_complete() { 
	global $my;
?>
		<p><b><font color="#FF0000"><?php echo _MYIPN_THANKS; ?></font></b><br />
		<br />
		<?php echo _MYIPN_COMPLETE; ?></p>
	
	<?php
		}
	
	// Display Cancel  message on if user click cancel from Paypal
	function display_cancel() {
	global $my;
?>
		<p><b><font color="#FF0000"><?php echo _MYIPN_CANCELLED; ?></font></b><br />
		<br />
		<?php echo _MYIPN_TRY_LATER; ?></p>
<?php
	}

}

?>
